#include <stdio.h>

int water(int x)
{
	int sum=0,s,i,m;
	m=x;
	for(i=0;i<3;i++)
	{
		s=x%10;
		sum+=s*s*s;
		x=x/10;
	}
	if(sum==m)
		return 1;
	else
		return 0;
}

int main()
{
	int n;
	printf("input a three num:");
	scanf("%d",&n);
	if(n>=100&&n<=999)
	{
		if(water(n))
			printf("the num is water flower num\n");
		else
			printf("no\n");
	}
}
